Skip to content

test: regenerate vlasov1d config regression baselines for vmin key#314

Open
joglekara wants to merge 2 commits into
mainfrom
claude/inspiring-clarke-f40db8
Open

test: regenerate vlasov1d config regression baselines for vmin key#314
joglekara wants to merge 2 commits into
mainfrom
claude/inspiring-clarke-f40db8

Conversation

@joglekara

Copy link
Copy Markdown
Member

Summary

  • tests/test_vlasov1d/test_config_regression.py fails on main for all three configs: feat(vlasov1d): support asymmetric velocity grids (vmin != -vmax) #295 (asymmetric velocity grids) added a vmin key to each species grid dict dumped in array_config.pkl, but the pytest-regressions baselines were never regenerated.
  • Verified the key is intentional: it is written in get_solver_quantities (adept/_vlasov1d/modules.py), sourced from Species.from_config, which defaults vmin = -vmax — so the recorded values (-6.4 for electrons, -0.005 for the multispecies ion grid) are just the historical symmetric grid, no behavior change.
  • Regenerated the baselines with --force-regen; the diff is exactly 4 inserted vmin lines across the three *_array_config.yml files. The config, units, and derived_config baselines are untouched.

Test plan

  • uv run --extra dev pytest tests/test_vlasov1d/test_config_regression.py — 12 passed

🤖 Generated with Claude Code

joglekara and others added 2 commits July 21, 2026 20:37
The asymmetric velocity grid feature (#295) added vmin to each species
grid dict dumped in array_config.pkl, but the pytest-regressions
baselines were never regenerated. Regenerated with --force-regen; the
diff is limited to the expected vmin: -vmax additions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant